﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Back-end.Master" AutoEventWireup="true" CodeBehind="SuaDeThi.aspx.cs" Inherits="TracNghiemTinHocDaiCuong.SuaDeThi" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <div>
            <table border="0" cellspacing="2px" cellpadding="4px" width="100%">
            	<tr>
            		<td>
                    Tên đề thi
                    <span style="color:red">*</span>
                    </td>
                    <td>
                        <asp:TextBox ID="txtTenDeThi" runat="Server" CssClass="txt"></asp:TextBox>
                        <asp:RequiredFieldValidator ControlToValidate="txtTenDeThi" runat="Server" ForeColor="Red"
                        ErrorMessage="Tên chủ đề không được để trống" ></asp:RequiredFieldValidator>
                    </td>
            	</tr>
                <tr>
            		<td>
                    Chủ đề
                    <span style="color:red">*</span>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlChuDe" runat="server" DataTextField="TenCD" DataValueField="MaCD"
                        CssClass="txt"></asp:DropDownList>
                    </td>
            	</tr>
                <tr>
            		<td>
                    Độ khó
                    <span style="color:red">*</span>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDoKho" runat="server" CssClass="txt">
                            <asp:ListItem Value="1">Dễ</asp:ListItem>
                            <asp:ListItem Value="1">Trung Bình</asp:ListItem>
                            <asp:ListItem Value="1">Khó</asp:ListItem>
                        </asp:DropDownList>
                    </td>
            	</tr>
                <tr>
            		<td>
                    Số câu hỏi
                    </td>
                    <td>
                        <asp:TextBox ID="txtSoCauHoi" runat="Server" CssClass="txt"></asp:TextBox>
                    </td>
            	</tr>
                <tr>
            		<td>
                    Thời gian
                    </td>
                    <td>
                        <asp:TextBox ID="txtThoiGian" runat="Server" CssClass="txt"></asp:TextBox>
                    </td>
            	</tr>
                <tr>
                    <td>
                        Ngày tạo
                    </td>
                    <td>
                        <asp:TextBox ID="txtNgayTao" runat="Server" CssClass="txt" 
                        ReadOnly="true" BackColor="#E5E5E5"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    Đã thi
                    </td>
                    <td>
                        <asp:CheckBox ID="chkDaThi" runat="server"/>
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <asp:Label ID="lblThongBao" runat="server" CssClass="lblThongBao"></asp:Label>
        </div>
        <div class="btnThem">
            <asp:Button ID="btnXoaTuKhoa" runat="server" Text="Xóa từ khóa" OnClick="btnXoaTuKhoa_Click"/>
            <asp:Button ID="btnThem" runat="Server" Text="Sửa" OnClick="btnThem_Click"/>
            <asp:Button ID="btnQuayLai" runat="Server" Text="Quay lui" OnClick="btnQuayLai_Click" 
            CausesValidation="false"/>
        </div>
    </div>
</asp:Content>
